
#import <Foundation/Foundation.h>

//常用变量
#define KScreenIpad [[UIScreen mainScreen] bounds].size.width == 768
#define SERVER_ADDRESS                              @"http://182.92.182.60:8011/"

//参数
#define KEY_RESULT                                  @"result_cd"
#define KEY_USERID                                  @"user_id"
#define KEY_AUTHORITYID                             @"authority_id"
#define KEY_DATA                                    @"data"

//接口
//用户未下载的电子书列表
#define API_BOOK_LIST                               @"api/book/list"
//电子书下载
#define API_BOOK_DOWNLOAD                           @"api/book/download"
//下载记录登记
#define API_BOOK_DOWNLOAD_INFO                      @"api/book/downloadInfo"
//用户登录
#define API_USER_LOGIN                              @"api/user/login"
